/*
 * Node.cpp
 *
 *  Created on: Nov 20, 2012
 *      Author: William Agnew [agnewwt@muohio.edu]
 */

#include "Node.h"
using namespace std;

Node::Node()
{
	// Initialize node pointers to null
	parent = 0;
	next = 0;

}

Node::~Node()
{

}

Node *Node::getNext() const
{
    return next;
}

Node *Node::getParent() const
{
    return parent;
}

void Node::setNext(Node *next)
{
    this->next = next;
}

void Node::setParent(Node *parent)
{
    this->parent = parent;
}



